/**
 * 
 */
package geometry;

/**
 * @author Pratik Bhavsar, Fabrice Reynaud.
 * 
 */
public class Point{
	
	String name;
	double x, y;
	

	public Point(String name, double x, double y){
		this.name = name;
		this.x = x;
		this.y = y;
	}
	
	@Override
	public String toString() {
		return "Point(" + x + "," + y + ")";
	}

	public double getX() {
		return x;
	}

	public void setX(double x) {
		this.x = x;
	}

	public double getY() {
		return y;
	}

	public void setY(double y) {
		this.y = y;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
